package com.zhaishuaishuai.serviceCaller.feignClient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
//fallback，@feign开启熔断器
@FeignClient(value = "client-provider",fallback = FeignHystrix.class)
public interface ServiceProviderFeign {
    //调用provider
    @RequestMapping("/sayHello")
    public String sayHello();
}
